﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace AntUnion.FrameWork.Model.Models
{
    public class MenuModel
    {
        public int Id { get; set; }
        public string Names { get; set; }
        public string Url { get; set; }
        public string Pid { get; set; }
        public string Image { get; set; }
        public int? Sort { get; set; }
        public int? State { get; set; }
        public string Creator { get; set; }
        public DateTime CreateDate { get; set; }
        public string Remark { get; set; }
    }
    public class RoleMenuId
    {
        public int Id { get; set; }
    }
    public class Menu
    {
        public int Id { get; set; }
        public string Names { get; set; }
        public string Url { get; set; }
        public string Image { get; set; }
        public List<MenuTo> children { get; set; }
        public string Remark { get; set; }
        public int msgCount{ get; set; }
    }
    public class MenuTo
    {
        public int Id { get; set; }
        public string Names { get; set; }
        public string Url { get; set; }
        public string Image { get; set; }
        public string Remark { get; set; }
        public List<MenuTo> children { get; set; }
        public int msgCount { get; set; }
    }

    public class TopMenuModel
    {
        public string id { get; set; }
        public int pid { get; set; }
        public int type { get; set; }
        public string title { get; set; }
        public bool spread { get; set; }
        public bool checkeds { get; set; }
        public List<TowMenuModel> children { get; set; }
    }

    public class TowMenuModel
    {
        public string id { get; set; }
        public int pid { get; set; }
        public int type { get; set; }
        public string title { get; set; }
        public bool spread { get; set; }
        public bool checkeds { get; set; }
        public List<ThreeMenuModel> children { get; set; }
    }

    public class ThreeMenuModel
    {
        public string id { get; set; }
        public int pid { get; set; }
        public int type { get; set; }
        public string title { get; set; }
        public bool spread { get; set; }
        public bool checkeds { get; set; }
        //public List<PowerModel> children { get; set; }
    }

    public class PowerModel
    {
        public string id { get; set; }
        public int pid { get; set; }
        public int type { get; set; }
        public string title { get; set; }
        public bool spread { get; set; }
        public bool checkeds { get; set; }
    }
}
